(function(){"use strict";BX.namespace("BX.Landing.UI.Collection");BX.Landing.UI.Collection.ButtonCollection=function(){BX.Landing.Collection.BaseCollection.apply(this,arguments)};BX.Landing.UI.Collection.ButtonCollection.prototype={constructor:BX.Landing.UI.Collection.ButtonCollection,__proto__:BX.Landing.Collection.BaseCollection.prototype,get:function(n){var t=null;this.some(function(o){if(o.id===n){t=o;return true}});return t},add:function(n){if(!!n&&n instanceof BX.Landing.UI.Button.BaseButton&&!this.contains(n)){this.push(n)}},getByValue:function(n){return this.find(function(t){return t.layout.value==n})},getActive:function(){return this.find(function(n){return n.isActive()})},getByNode:function(n){return this.find(function(t){return t.layout===n})}}})();